package com.dz.product.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import com.dz.common.vo.AbstractPageVO;

@Data
@EqualsAndHashCode(callSuper = true)
public class ProductQueryVO extends AbstractPageVO {

	public static final String[] orderBys = new String[] { "fbeginRate", "flendingtime" };// 利息最少，放款时间
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "贷款金额", required = true, dataType = "int", example = "10")
	private Integer amount = 0;// 贷款金额

	@ApiModelProperty(value = "贷款年限", required = false, dataType = "int", example = "10")
	private Integer term;// 贷款年限

	@ApiModelProperty(value = "排序方式", required = false, dataType = "int", allowableValues = "0,1,2")
	private Integer orderBy = 0;// 默认利息最少

	@ApiModelProperty(value = "还款方式", required = false, dataType = "int")
	private Integer repaymentid;// 还款方式

	@ApiModelProperty(value = "抵押方式", required = false, dataType = "int")
	private Integer mortgageid;// 抵押方式

	@ApiModelProperty(value = "标签数组", required = false, dataType = "string",example="1001")
	private String lableIds;
	
	@ApiModelProperty(value = "贷款类型", required = false, dataType = "int",example="4")
	private Integer categoryid;
}
